package com.qumap.item.request.filter.entry;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 19.06.11
 * Time: 20:53
 * To change this template use File | Settings | File Templates.
 */
public class IntegerFilterEntry extends FilterEntry {

    private int value;

    public IntegerFilterEntry() {
    }

    public IntegerFilterEntry(short field_index, byte operation) {
        super(field_index, operation);
    }

    @Override
    public Number getValue() {
        return new Integer(value);
    }

    @Override
    public void setValue(Number new_value) {
        this.value  = new_value.intValue();
    }
}
